/*
 *  ofxJSGlut.h
 *  liveCoding
 *
 *  Created by Julien Gachadoat on 30/11/09.
 *  Copyright 2009 2Roqs. All rights reserved.
 *
 */

#ifndef OFX_JSGLUT_H
#define OFX_JSGLUT_H

#include "ofxJavascript.h"
#include "ofxJSUtils.h"

class ofxJSGlut
{
	public:
		ofxJSGlut			();
		~ofxJSGlut			();

		static ofxJSGlut*		smp_instance;
		static ofxJSGlut*		instance();
		static void				initialize		();
		static void				finalize		();

		/* javascript functions */
		void					WireTeapot			(float s);
		void					WireSphere			(float a,float b,float c);
		void					SolidSphere			(float a,float b,float c);
		void					WireIcosahedron		();
		void					SolidIcosahedron	();
		void					WireDodecahedron	();
		void					SolidDodecahedron	();
		void					WireCube			(float s);
		void					SolidCube			(float s);
		/* end */

	#include "js/ofxJSGlut.h"
};


#endif